﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SerbinAV.MobileSales.Sales.Entities;

namespace SerbinAV.MobileSales.Sales.DAL
{
    public interface IVisitRepository
    {
        List<Visit> GetVisitsByDate(DateTime dateWork);
        List<Visit> GetVisitsByDate(DateTime beginDateWork, DateTime endDateWork);

        void CreateVisit(Visit visit);
        void UpdateVisit(Visit visit);
        void DeleteVisit(Visit visit);
        void CreateVisitFromGraphics(DateTime dateTime);
    }
}
